package com.cuit.washneedshake.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cuit.washneedshake.model.entity.ImportedProvinces;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ImportedProvincesMapper extends BaseMapper<ImportedProvinces> {

    List<ImportedProvinces> getImportedProvincesData();
    @Select("select SUM(imported_cases) from washneedshake.imported_provinces")
    Integer getImportedCasesSum();

}




